home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- IF NOT EXIST DICK.APP GOTO GETFILES
- IF NOT EXIST JANE.APP GOTO GETFILES
- IF NOT EXIST PAL.COM GOTO GETFILES
- IF NOT EXIST PAL14.000 GOTO GETFILES
- IF NOT EXIST PAL14.001 GOTO GETFILES
- IF NOT EXIST PAL14.HLP GOTO GETFILES
- :START
- CLS
- echo
- echo This batch file will demonstrate some of the features of
- echo PAL. We will first show a report of DICK.APP starting on January
- echo 1, 1985, for a period of five days. You will note that Dick has
- echo entered each of his appointments beginning with the string "D-".
- echo This is to distinguish his appointments from Jane's when we
- echo combine their appointments and report on them together.
- echo
- echo Note at the end of the report that Dick has an old reminder.
- echo He was supposed to get an engagement ring for Jane yesterday.
- echo
- echo
- PAUSE
- PAL @ 5 DICK
- PAUSE
- CLS
- echo
- echo We will now show Jane's appointments. Note that it's a bit
- echo difficult to see whether there are any conflicts with Dick's
- echo appointments when we can't see both together.
- echo
- echo
- PAUSE
- PAL @ 5 JANE
- PAUSE
- CLS
- echo
- echo This batch file will now combine the two separate
- echo appointment files into a single file, then call on PAL to report
- echo from the amalgamated file. Note how PAL shows common appointments
- echo and conflicting appointments.
- echo
- echo Query: What chance does Dick have to get Jane to marry him?
- echo
- echo
- PAUSE
- COPY /B DICK.APP+JANE.APP DIKNJAN.APP
- PAL @ 5 DIKNJAN
- PAUSE
- CLS
- echo
- echo Answer to previous question: They'd better have a lot more
- echo in common than political leanings and musical taste!
- echo
- echo We will now demonstrate the ability to search a file for a
- echo particular string of characters. You may remember that all of
- echo Dick's appointments were preceded by the characters "D-" in order
- echo to distinguish them from Jane's appointments in the DIKNJAN.APP
- echo file.
- echo
- echo
- PAUSE
- PAL @ $ D- DIKNJAN
- PAUSE
- erase diknjan.app
- CLS
- echo
- echo Now, let's take a look at something pretty sexy: With
- echo SideKick, you can now enter an appointment that you need to see
- echo annually, and PAL will show it to you forever (well, at
- echo least until you don't want to see it anymore). Let's take
- echo a peek at the annual appointment that Jane has placed in
- echo her file, for the next 10 years starting from your present
- echo system date. Jane was born on February 29, 1960!
- echo
- echo
- PAUSE
- PAL 3650 JANE
- PAUSE
- CLS
- echo
- echo And now let's see the monthly appointment that Dick
- echo has placed in his file. Let's make PAL show us those
- echo monthly appointments for a full year from today.
- echo
- echo
- PAUSE
- PAL 365 DICK
- pause
- cls
- echo
- echo "Fun With Dick and Jane" has been brought to you by PAL
- echo Software NY, creators of PAL, the Personal Appointment Locator for
- echo SideKick.
- echo
- echo To obtain help on the features of PAL and how to
- echo operate the program, go "PAL HELP" at the DOS command line.
- echo
- echo Please enjoy the program!
- echo
- echo
- echo
- echo Use Ctrl-Break to halt the demonstration, but if you
- echo want to see it again then
- PAUSE
- GOTO START
- :GETFILES
- CLS
- echo You need the files DICK.APP and JANE.APP,
- echo in order to run this demo.
- echo
- echo Required program files are PAL.COM,
- echo PAL14.000, PAL14.001 and PAL14.HLP.
- GOTO ENDIT
- :ENDIT